/* first remove all padding and margins */
* {
  margin: 0px;
  padding: 0px;
}

/* define the generic body values */
body {
  background: #FFF;
  color:#333;
  font: 76% Arial,sans-serif;
}

h1 {
  padding-top: 40px;
}

div#page_header h1 {
  padding-top: 10px;
  font: normal 200%/1.3 Verdana,sans-serif;
}

div#page_header h2 {
  font: normal 120%/1.3 Verdana,sans-serif;
  font-style : italic;
}

div#selected_recording_content h1 {
  padding-top: 7px;
  font: normal 120%/1.3 Verdana,sans-serif;
}

div#selected_recording_content h2 {
  padding-top: 5px;
  font: normal 100%/1.3 Verdana,sans-serif;
  padding-bottom: 5px;
}

div#selected_recording_content img {
  vertical-align:baseline;
  padding-left:3px;
}

table.grid {
  width:100%;
  table-layout:fixed;
  border-spacing:0px;
}

div#selected_recording_content table.grid tr {
  vertical-align:bottom;
}

a { color: #333; }
a:visited { color: #333; }
a:hover { color: #333; background-color:#cccbd0; }
a.nohover:hover { background-color:transparent !important; }


div#page {
  margin:0 auto;
  padding:10px;
  min-width:660px;
  max-width:900px;
}
* div#page{
  width:expression(document.body.clientWidth > 900? "900px": "auto" );
}

div#language_selector {
  padding-right:10px;
  padding-top:55px;
}

div.round_headline {
  font: normal 120%/1.3 Verdana,sans-serif;
  text-transform:uppercase;
  text-align:center;
  color: #000;
  padding: 3px 5px 5px;
}

div.round_block {
  padding: 7px;
}

div#selected_recording_headline {
  background: #E3A1C4;
}

div#selected_recording_block {
  background: #C5E6F6;
  margin: 0 0 10px;
}

div#recording_list_headline {
  background: #E3A1C4;
}

div#recording_list_block {
  background: #C5E6F6;
}

div#selected_recording_content {
  min-height: 95px;
}

div#new_recording_form {
  margin-top:10px;
}

table.form {
  width:400px;
  border-spacing:0px;
  margin-top:10px;
  margin-bottom:10px;
  padding: 5px;
  background: #e3e2e8;
}

table.form td.label {
  padding-right: 20px;
}

div#recording_list_content table {
  width:100%;
  table-layout:fixed;
  border-spacing:0px;
  border-collapse:collapse;
  margin-top:10px;
}

/* hovered table rows */
div#recording_list_content table tr.hoverable:hover,
div#recording_list_content table tr.hoverable:hover th,
div#recording_list_content table tr.hover th,
div#recording_list_content table tr.hover {
  background-color:#e3e2e8 ! important;
}

div#recording_list_content table tr.active {
  background-color:#cccbd0;
}

div#recording_list_content table tr {
  text-align:left;
}

div#recording_list_content table td,
div#recording_list_content table th {
  border-bottom-width:thin;
  border-bottom-color:#86A5C4;
  border-bottom-style:solid;
  padding-bottom:0.5em;
  padding-top:0.4em;
  padding-right:0.5em;
}

#selected_recording_message {
  width:100%;
  height:100%;
  font: normal 120%/1.3 Verdana,sans-serif;
  text-transform:uppercase;
  text-align:center;
  padding-top:35px;
  padding-bottom:40px;
  color:#666;
}

div#page_footer {
  margin-top:15px;
  text-align:center;
  color:#888;
}
div#page_footer a { color:#888; text-decoration:none; }
div#page_footer a:visited { color:#888; }
div#page_footer a:hover { color:#333; background-color:transparent !important; }

/* rails standard scaffolding stuff */

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

#ErrorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#ErrorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#ErrorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#ErrorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

div.uploadStatus {
  margin: 5px;
}

div.progressBar {
  margin: 5px;
}

div.progressBar div.border {
  background-color: #fff;
  border: 1px solid grey;
  width: 100%;
}

div.progressBar div.background {
  background-color: #333;
  height: 18px;
  width: 0%;
}
